#!/usr/bin/python
#Filename: using_file.py

import sys
import sqlite3

fname = sys.argv[1]
dbf = file(fname)

number = sys.argv[2]
print 
while True:
	line = dbf.readline()
	if len(line) <= 0:
		break
	item = line.split('\t')
	mobile = item[1].strip('"')
	if mobile == number[0:7] :
		print "city of %s is %s" % (number, item[3].strip('"'))
		break;
		

